import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
// import '@ant-design-vue/pro-layout/dist/style.css' // pro-layout css or style.less
import MagicPageDesigner from 'magic-page-designer'
// 最后引入自定义css，为了覆盖其它样式
import 'magic-page-designer/dist/magic-page-designer.css'
import './assets/index.less'

Vue.config.productionTip = false

Vue.use(Antd)
Vue.use(MagicPageDesigner)
MagicPageDesigner.addAntLibrary()

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
